package com.baizhi.dao;

import com.baizhi.entity.Drug;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DrugDao {
    void insertDrug(Drug drug);
    void deleteDrug(Integer drugid);
    Drug selectById(Integer drugid);
    void updateDrug(Drug drug);
    List<Drug> selectDrugs(@Param("name") String name);//根据药品模糊查   service层分页
}
